<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<!--
    break     结束循环  结束最近的循环
    continue  结束本次循环 继续下次循环
-->

<script>

  for (var i = 0; i < 5 ; i++) {

    for (var j = 0; j < 10 ; j++) {
      if (j==5){
        // break;
        continue;
      }
      console.log("hello " +j)
    }

  }


  
</script>
</body>
</html>